﻿using System.ComponentModel.DataAnnotations.Schema;

namespace EFCodeFirst
{
    [Table("Territories")]
    public class Territory
    {
        //[Key]
        //[Column("TerritoryId")]
        public string Id { get; set; }

        //[Column("TerritoryDescription")]
        public string Description { get; set; }

        public int RegionId { get; set; }

        [ForeignKey("RegionId")]
        public virtual Region Region { get; set; }
    }
}